home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softdisk Supreme
/
Softdisk Supreme.iso
/
pc
/
DSK Files
/
0-49
/
SD008b.dsk
/
VOCAB.bas
< prev
next >
Wrap
BASIC Source File
|
2003-06-12
|
5KB
|
155 lines
100 REM :VOCABULARY QUIZ
110 REM :COPYRIGHT BY RUGG AND FELDMAN
300 GOSUB 1000
400 GOSUB 2000
500 GOSUB 3000
600 GOSUB 4000
700 GOSUB 5000
800 GOSUB 6000
900 IF E = 0 THEN 500
910 GOTO 300
1000 IF E < >0 THEN 1060
1010 HOME
1020 PRINT "*****VOCABULARY QUIZ*****"
1030 PRINT
1040 PRINT "THIS PROGRAM WILL TEST YOUR KNOWLEDGE"
1050 PRINT "OF SOME USEFUL VOCABULARY WORDS"
1060 PRINT
1110 INPUT "HOW MANY QUESTIONS SHALL WE DO? ";L
1120 IF L >4 THEN 1140
1130 PRINT "THAT'S NOT ENOUGH. LET'S DO 5.":L = 5
1140 IF E < >0 THEN 1200
1150 PRINT
1200 RETURN
2000 IF E < >0 THEN 2200
2010 C = 5
2020 D = 250
2030 DIM D$(D),E$(D)
2040 DIM P(C)
2050 J = 1
2060 READ D$(J)
2070 IF D$(J) = "XXX" THEN 2140
2090 READ E$(J)
2100 J = J +1
2110 IF J < = D THEN 2060
2120 PRINT "TOO MANY DATA STATEMENTS."
2130 PRINT "ONLY FIRST";D;"ARE USED."
2140 D = J -1
2200 Q = 1
2210 E = 0
2220 Q1 = 0
2300 RETURN
3000 FOR J = 1 TO C
3010 P(J) = 0
3020 NEXT J
3030 FOR J = 1 TO C
3040 P = RND(5)
3041 P = P *D +1
3042 P = INT(P)
3045 IF (P = P1) OR (P = P2) OR (P = P3) THEN 3040
3050 FOR K = 1 TO J
3060 IF P(K) = P THEN 3040
3070 NEXT K
3080 P(J) = P
3090 NEXT J
3110 A = RND(3)
3111 A = A *C +1
3112 A = INT(A)
3200 RETURN
4000 PRINT
4010 M = RND(7)
4011 M = M *2 +1
4012 M = INT(M)
4020 IF M = 2 THEN 4100
4030 PRINT Q;"--WHAT WORD MEANS ";E$(P(A));"?"
4040 FOR J = 1 TO C
4050 PRINT TAB( 5);J;"-- ";D$(P(J))
4060 NEXT
4070 GOTO 4210
4100 PRINT Q;"-- WHAT DOES ";D$(P(A));" MEAN?"
4110 FOR J = 1 TO C
4120 PRINT TAB( 5);J;"-- "E$(P(J))
4130 NEXT
4210 RETURN
5000 INPUT R
5010 IF R > = 1 AND R < = C THEN 5050
5020 PRINT "I NEED A NUMBER FROM 1 TO ";C
5030 GOTO 5000
5050 IF R = (A) THEN 5100
5060 PRINT "NO, THE ANSWER IS NUMBER ";A
5070 GOTO 5210
5100 PRINT "RIGHT"
5110 Q1 = Q1 +1
5210 IF Q1 = 1 THEN 5300
5220 PRINT "YOU HAVE ";Q1;" RIGHT OUT OF ";Q;" QUESTIONS."
5300 P3 = P2
5310 P2 = P1
5320 P1 = P(A)
5330 RETURN
6000 Q = Q +1
6010 IF Q < = L THEN RETURN
6020 E = 1
6030 Q = Q1 *100/(Q -1)
6040 IF Q >0 THEN 6070
6050 PRINT "WELL, THAT'S A ''PERFECT '' SCORE...."
6060 GOTO 6200
6070 PRINT "THAT'S ";Q;"PERCENT."
6080 IF Q >25 THEN 6110
6090 PRINT "CONGRATULATIONS ON AVOIDING A SHUTOUT."
6100 GOTO 6200
6110 IF Q >50 THEN 6140
6120 PRINT "YOU CAN USE SOME MORE PRACTICE."
6130 GOTO 6200
6140 IF Q >75 THEN 6170
6150 PRINT "NOT BAD, BUT ROOM FOR IMPROVEMENT."
6160 GOTO 6200
6170 PRINT "VERY GOOD!!"
6180 IF Q >95 THEN PRINT "YOU'RE ALMOST AS SMART AS I AM!!!"
6200 PRINT
6210 INPUT "WANT TO TRY AGAIN? ";R$
6220 IF LEFT$(R$,1) < >"N" THEN 6240
6230 PRINT : PRINT "CHECK YOU LATER.": PRINT : END
6240 IF LEFT$(R$,1) < >"Y" THEN 6210
6250 RETURN
7000 REM :D MUST BE AT LEAST ONE GREATER THAN THE NUMBER OF DIFFERENT WORDS.
7010 DATA ANOMYMOUS,"OF UNKNOWN OR HIDDEN ORIGIN"
7020 DATA OMINOUS,"THREATENING OR MENACING"
7030 DATA AFFLUENT,"WEALTHY"
7040 DATA APATHETIC,"INDIFFERENT OR UNINTERESTED"
7050 DATA LACONIC,"TERSE"
7060 DATA INTREPID,"FEARLESS OR COURAGEOUS"
7070 DATA GREGARIOUS,"SOCIAL OR COMPANY-LOVING"
7080 DATA ENERVATED,"WEAK OR EXHAUSTED"
7090 DATA VENERABLE,"WORTHY OF RESPECT OR REVERENCE"
7100 DATA DISPARATE,"DIFFERENT AND DISTINCT"
7110 DATA VIVACIOUS,"LIVELY OR SPIRITED"
7120 DATA ASTUTE,"KEEN IN JUDGMENT"
7130 DATA URSINE,"BEARLIKE"
7140 DATA PARSIMONIOUS,"STINGY OR FRUGAL"
7150 DATA OMNISCIENT,"ALL-KNOWING"
7160 DATA SESQUIPEDALIAN,"LONG WORDS"
7170 DATA BROBDINGNAGIAN,"LARGER THAN GIGANTIC"
7180 DATA SIALOGOGUE,"MAKE MOUTH WATER"
7190 DATA NEPHALISM,"TOTAL ABSTINENCE FROM ALCOHOLIC DRINKS"
7200 DATA THEOMACHY,"BATTLES AMONG THE GODS"
7210 DATA INGRAVESCENCE,"WORSENING OR INCREASE IN SEVERITY"
7220 DATA HYSTERESIS,"LAG BETWEEN CAUSE AND EFFECT"
7230 DATA NIDIFICATING,"NEST BUILDING"
7240 DATA TRIUMVIRATE,"GOVERNANCE BY THREE PERSONS"
7250 DATA CINERARIUM,"LOCATION OF CREMATED REMAINS"
7260 DATA TRANSPONTINE,"OTHER SIDE OF THE BRIDGE"
7270 DATA HAPLOGRAPHY,"INADVERTENT OMISSION OF A LINE WORD OR PART OF A WORD DUE TO ITS SIMILARITY TO ANOTHER"
7280 DATA TERATOLOGY,"MONSTER STORY CREATION"
7290 DATA BREVILOQUENCE,"BRIEF BUT EFFECTIVE SPEECH"
7300 DATA PANDICULATE,"YAWN"
7310 DATA CICERON,"TOUR GUIDE"
7320 DATA SEGUED,"FLOW FROM ONE MUSICAL NOTE TO ANOTHER W/O PAUSE"
7330 DATA INVIDIOUS,"CAUSE DISCONTENT"
7340 DATA ECLECTIC,"BEST OF VARIED SOURCES"
7350 DATA VIRGULE,"A SLASH AS /."
7360 DATA HUBIS,"SENCE OF POWER THAT LEADS TO A FALL."
7370 DATA DENDROCHRONOLOGY,"TREE RING DATING."
7380 DATA LACERATE,"TEAR TO PIECES, CUT,MANGLE"
7390 DATA RUFFLE,"DISARRANGE,RIPPLE,IRRITATE"
7400 DATA UNABASHED,"UNDAUNTED,BOLD,UNDISMAYED"
7999 DATA XXX